<?php if($this->models->count() > 0): ?>
<div class="news-latest">
	<?php foreach($this->models AS $news): ?>
		<?php $url = $this->urlToPage($this->config('detailPageId'), array('news' => array('id' => $news->id))) ?>
		<div class="news-latest-item">
			<div class="date"><?php echo $this->date('FFF', $news->date) ?></div>
			<h4><?php echo $news->title ?></h4>
			<div class="rte"><?php echo $news->teaser ?>
				<a href="<?php echo $url ?>"><?php echo $this->translate('newsMoreLink') ?></a>
			</div>
		</div>
		<div class="news-latest-item-divider"></div>
	<?php endforeach; ?>
</div>
<?php endif; ?>